package com.issue.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.issue.common.annotation.Excel;
import com.issue.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * Course对象 a_child_course
 * 
 * @author system
 * @date 2024-10-20
 */
public class ChildCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Course Id */
    private Long courseId;

    /** Course Name */
    @Excel(name = "Course Name")
    private String courseName;

    /** Course Time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "Course Time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date courseDate;

    /** Child Id */
    @Excel(name = "Child Id")
    private Long childId;

    /** Child Name */
    @Excel(name = "Child Name")
    private String childName;

    /** Child Card No */
    @Excel(name = "Child Card No")
    private String childCardNo;

    /** Teacher Id */
    @Excel(name = "Teacher Id")
    private Long teacherId;

    /** Teacher Name */
    @Excel(name = "Teacher Name")
    private String teacherName;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseDate(Date courseDate) 
    {
        this.courseDate = courseDate;
    }

    public Date getCourseDate() 
    {
        return courseDate;
    }
    public void setChildId(Long childId) 
    {
        this.childId = childId;
    }

    public Long getChildId() 
    {
        return childId;
    }
    public void setChildName(String childName) 
    {
        this.childName = childName;
    }

    public String getChildName() 
    {
        return childName;
    }
    public void setChildCardNo(String childCardNo) 
    {
        this.childCardNo = childCardNo;
    }

    public String getChildCardNo() 
    {
        return childCardNo;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseDate", getCourseDate())
            .append("childId", getChildId())
            .append("childName", getChildName())
            .append("childCardNo", getChildCardNo())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
